package com.ctshk.rpc.scenic.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@ColumnWidth(value = 21)
@HeadRowHeight(value = 40)
@ContentRowHeight(value = 40)
@ApiModel(value = "冬奥会报名清单导出Excel对象", description = "冬奥会报名清单导出Excel对象反参")
public class RegistrationListExport implements Serializable {

    @ExcelProperty("查詢編號")
    @ApiModelProperty(value = "查询编号")
    private String queryNumber;

    @ExcelProperty("姓名")
    @ApiModelProperty(value = "英文姓名")
    private String enName;

    @ExcelProperty("聯絡電話")
    @ApiModelProperty(value = "联络电话")
    private String phone;

    @ExcelProperty("同意降級")
    @ApiModelProperty(value = "是否同意降级")
    private String agreeStr;

    @ExcelIgnore
    @ApiModelProperty(value = "场次代码")
    private String sessionCode;

    @ApiModelProperty(value = "选择场次")
    @ExcelProperty(value = "選擇場次")
    private Integer sessionNumber;

    @ApiModelProperty(value = "比赛项目")
    @ExcelIgnore
    private String discipline;

    @ExcelProperty("門票數")
    @ApiModelProperty(value = "报名票数")
    private Integer number;

    @ExcelProperty("報名日期")
    @ApiModelProperty(value = "报名时间")
    private LocalDate gmtCreate;
}
